﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Data;
using QLTV_Public;

namespace QLTV_BLL
{
   public class Lop_BLL
    {
       Lop_Data lop_data = new Lop_Data();
        public DataTable TaoBang(string sql)
        {
            return lop_data.TaoBang(sql);
        }
        public DataTable LayDuLieu()
        {
            return lop_data.LayDuLieu();
        }
        public int Insert(Lop_Public maLop, Lop_Public tenLop, Lop_Public maDonVi, Lop_Public maHe,Lop_Public maLoaiDG,Lop_Public maThamSo, Lop_Public khoaHoc)
        {

            return lop_data.Insert(maLop,tenLop,maDonVi,maHe,maLoaiDG,maThamSo,khoaHoc);

        }
        public int Update(Lop_Public maLop, Lop_Public tenLop, Lop_Public maDonVi, Lop_Public maHe, Lop_Public maLoaiDG, Lop_Public maThamSo, Lop_Public khoaHoc)
        {

            return lop_data.Update(maLop, tenLop, maDonVi, maHe, maLoaiDG, maThamSo, khoaHoc);

        }
        public int Delete(Lop_Public maLop)
        {
            return lop_data.Delete(maLop);

        }
    }
}
